package apiday08.homework;

public class Student {
    private String name = "乱去";

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Student() {
    }

    public Student(String name) {
        this.name = name;
    }

    public void study(){
        System.out.println(name+":you can you up, no can no BB!!!");
    }
    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                '}';
    }
}
